﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

namespace $safeprojectname$.Settings
{
    public class ConfigurationFilePath
    {
        #region memebers
        readonly IEnumerable<string> _defaultNHibernateFiles = new string[] { "Config/NHibernate.config" };
        const string DefaultMenu = "Config/Menu.config";
        IEnumerable<string> _nHibernateFiles;
        string _menu;
        #endregion memebers

        /// <summary>
        ///     Path to the Menu configuration file. 
        ///     default is "Config/Menu.config";
        /// </summary>
        public string Menu
        {
            get { return _menu ?? DefaultMenu; }
            set { _menu = value; }
        }

        /// <summary>
        ///     Path to the NHibernate configuration files. 
        ///     default is "Config/NHibernate.config";
        /// </summary>
        public IEnumerable<string> NHibernateFiles
        {
            get { return _nHibernateFiles ?? _defaultNHibernateFiles; }
            set { _nHibernateFiles = value; }
        }
    }
}